﻿using DFGK_WMS.Model.Dto;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IScrapService
    {

        bool AddScrap(ScrapOrderDetail order,out string message);

        bool DelScrap(ScrapOrderDetail order);

        bool UpdScrap(ScrapOrderDetail order);

        List<ScrapOrderDetail> GetAllScrapOrders(int pageIndex, int pageSize,string? orderSn,out int totalCount);

        ScrapOrderDetail GetScrapOrder(long id);
    }
}
